#pragma once

#include <atlddx.h>
#include <atlcrack.h>

#include "resource.h"


class CResetLastestDlg : public CDialogImpl<CResetLastestDlg>,
	                     public CWinDataExchange<CResetLastestDlg>
{
public:
	CResetLastestDlg(void);
	~CResetLastestDlg(void);


	enum { IDD = IDD_DLG_RESET_LASTEST_TIME };

	BEGIN_MSG_MAP(CResetLastestDlg)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
		COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
		COMMAND_HANDLER_EX(IDC_BTN_OK, BN_CLICKED, OnBtnOkBnClicked)

	END_MSG_MAP()


	LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
	LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);

	LRESULT OnBtnOkBnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl);

};
